auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.42.38
netmask 255.255.252.0
gateway 192.168.42.16
dns-nameservers 192.168.42.29 192.168.42.30
dns-search perfact.de
pre-up /pre/up/script
post-up /post/up/script
pre-down /pre/down/script
down /on/down/script
post-down /this/was/a/triumph

auto eth0:1
iface eth0:1 inet static
address 192.168.42.84
netmask 255.255.252.0

auto eth0:2
iface eth0:2 inet static
address 192.168.42.85
netmask 255.255.252.0

auto eth1
iface eth1 inet dhcp

gateway 192.168.xx.yy
dns-nameservers 192.168.xx.yy 192.168.xx.zz
dns-search local

up ip route add default via 192.xx.yy.zz table foobar || true
up ip rule add from 192.xx.xx.xx lookup foobar || true
up ip rule add from 192.yy.yy.yy lookup foobar || true
